<?php /* Smarty version 2.6.6, created on 2013-10-22 14:07:48
         compiled from myaudios.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('insert', 'get_seotitle_from_audioid', 'myaudios.tpl', 27, false),array('insert', 'get_username_from_userid', 'myaudios.tpl', 40, false),array('insert', 'get_runtime', 'myaudios.tpl', 42, false),array('insert', 'get_rating_stars', 'myaudios.tpl', 46, false),array('modifier', 'file_exists', 'myaudios.tpl', 29, false),array('modifier', 'stripslashes', 'myaudios.tpl', 30, false),array('modifier', 'date_format', 'myaudios.tpl', 52, false),)), $this); ?>
<div id="main_wrap">
    <div class="center_wrap clearfix">
        <h2 class="no_top breadcrumb">
            <a><?php echo $this->_tpl_vars['lang846']; ?>
</a>
        </h2>
        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "accountmenu.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?> 
        <div class="right col1">
            <div class="cat_box_full clearfix"> 
                <p class="right results"><?php if ($this->_tpl_vars['error'] == ""):  echo $this->_tpl_vars['beginning']; ?>
 - <?php echo $this->_tpl_vars['ending']; ?>
 <?php echo $this->_tpl_vars['lang61']; ?>
 <?php echo $this->_tpl_vars['total']; ?>
 <?php echo $this->_tpl_vars['lang796'];  endif; ?></p>
                <ul id="search_nav" class="clearfix">
                    <li class="current"><?php echo $this->_tpl_vars['showtitle']; ?>
<span></span></li>
                </ul>
                <div class="cat_body_full clearfix">
                    <?php if ($this->_tpl_vars['error'] != ""): ?>
                        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_error.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                    <?php endif; ?>
                    <?php if ($this->_tpl_vars['message'] != ""): ?>
                        <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "show_message.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
                    <?php endif; ?>

                    <!-- LOOP START -->
                    <form id="deleteform" name="deleteform" action="<?php echo $this->_tpl_vars['baseurl']; ?>
/myaudios.php" method="post">
                        <?php unset($this->_sections['i']);
$this->_sections['i']['name'] = 'i';
$this->_sections['i']['loop'] = is_array($_loop=$this->_tpl_vars['listaudios']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['i']['show'] = true;
$this->_sections['i']['max'] = $this->_sections['i']['loop'];
$this->_sections['i']['step'] = 1;
$this->_sections['i']['start'] = $this->_sections['i']['step'] > 0 ? 0 : $this->_sections['i']['loop']-1;
if ($this->_sections['i']['show']) {
    $this->_sections['i']['total'] = $this->_sections['i']['loop'];
    if ($this->_sections['i']['total'] == 0)
        $this->_sections['i']['show'] = false;
} else
    $this->_sections['i']['total'] = 0;
if ($this->_sections['i']['show']):

            for ($this->_sections['i']['index'] = $this->_sections['i']['start'], $this->_sections['i']['iteration'] = 1;
                 $this->_sections['i']['iteration'] <= $this->_sections['i']['total'];
                 $this->_sections['i']['index'] += $this->_sections['i']['step'], $this->_sections['i']['iteration']++):
$this->_sections['i']['rownum'] = $this->_sections['i']['iteration'];
$this->_sections['i']['index_prev'] = $this->_sections['i']['index'] - $this->_sections['i']['step'];
$this->_sections['i']['index_next'] = $this->_sections['i']['index'] + $this->_sections['i']['step'];
$this->_sections['i']['first']      = ($this->_sections['i']['iteration'] == 1);
$this->_sections['i']['last']       = ($this->_sections['i']['iteration'] == $this->_sections['i']['total']);
?>
                            <div class="search_row">
                                <div class="aud_cont">
                                    <span class="channel_thumb">
                                        <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/audios/<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
/<?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_seotitle_from_audioid', 'assign' => 'title', 'audioid' => $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID'])), $this); ?>
">
                                        <?php ob_start(); ?>images/audiothumbs/<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
-1<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['ext'];  $this->_smarty_vars['capture']['default'] = ob_get_contents();  $this->assign('player', ob_get_contents());ob_end_clean(); ?> 
                                        <?php if (((is_array($_tmp=$this->_tpl_vars['player'])) ? $this->_run_mod_handler('file_exists', true, $_tmp) : file_exists($_tmp))): ?>
                                            <img alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
" src="<?php echo $this->_tpl_vars['athumburl']; ?>
/<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
-1<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['ext']; ?>
" />
                                        <?php else: ?>
                                            <img alt="<?php echo ((is_array($_tmp=$this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
" src="<?php echo $this->_tpl_vars['athumburl']; ?>
/default.png" />
                                        <?php endif; ?>

                                    </a>
                                </span>
                            </div>

                            <h4 class="blue no_bottom"><a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/myaudiosedit.php?AUDIOID=<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['title'])) ? $this->_run_mod_handler('stripslashes', true, $_tmp) : stripslashes($_tmp)); ?>
</a></h4>
                            <p class="no_top no_bottom pink"><?php echo $this->_tpl_vars['lang672']; ?>
: <a href="<?php echo $this->_tpl_vars['baseurl']; ?>
/<?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_username_from_userid', 'value' => 'var', 'USERID' => $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['USERID'])), $this); ?>
"><?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_username_from_userid', 'value' => 'var', 'USERID' => $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['USERID'])), $this); ?>
</a></p>
                            <div></div>
                            <p><?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_runtime', 'value' => 'var', 'runtime' => $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['runtime'])), $this); ?>
 | <?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['viewcount']; ?>
 <?php echo $this->_tpl_vars['lang60'];  if ($this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['allowcomments'] != '0'): ?> | <?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['commentcount']; ?>
 <?php echo $this->_tpl_vars['lang63'];  endif; ?></p>
                            <?php if ($this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['allowratings'] != '0'): ?>
                                <p>
                                <nobr>
                                    <?php require_once(SMARTY_CORE_DIR . 'core.run_insert_handler.php');
echo smarty_core_run_insert_handler(array('args' => array('name' => 'get_rating_stars', 'rating' => $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['rating'])), $this); ?>

                                </nobr><div style="clear:both"></div>
                                (<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['ratingcount']; ?>
 <?php if ($this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['ratingcount'] == '1'):  echo $this->_tpl_vars['lang65'];  else:  echo $this->_tpl_vars['lang66'];  endif; ?>)
                                </p>
                            <?php endif; ?>
                            <p class="text_gray2 no_bottom no_top">
                                <?php echo $this->_tpl_vars['lang64']; ?>
 <?php echo ((is_array($_tmp=$this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['time_added'])) ? $this->_run_mod_handler('date_format', true, $_tmp, "%b %e, %Y") : smarty_modifier_date_format($_tmp, "%b %e, %Y")); ?>

                            </p>
                            <p><?php echo $this->_tpl_vars['lang847']; ?>
 <input type="checkbox" name="deleteaudio[]" value="<?php echo $this->_tpl_vars['listaudios'][$this->_sections['i']['index']]['AUDIOID']; ?>
"></p>
                        </div>
                    <?php endfor; endif; ?>
                    <input type="submit" name="submitdelete" value="<?php echo $this->_tpl_vars['lang485']; ?>
" />
                </form>
                <!-- LOOP END -->

            </div>

            <div class="paginate">
                <?php echo $this->_tpl_vars['pagelinks']; ?>

                <p class="left"><?php if ($this->_tpl_vars['error'] == ""):  echo $this->_tpl_vars['beginning']; ?>
 - <?php echo $this->_tpl_vars['ending']; ?>
 <?php echo $this->_tpl_vars['lang61']; ?>
 <?php echo $this->_tpl_vars['total']; ?>
 <?php echo $this->_tpl_vars['lang796'];  endif; ?></p>
            </div>
        </div>
    </div>
    <div class="clear"></div>
</div>
</div>